package com.study.spring.common;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

//@Component
public class Boss {

    @Autowired
    Person person;

    public Boss(Person person) {
        this.person = person;
    }

    public Boss() {
    }

    @Override
    public String toString() {
        return "Boss{" +
                "person=" + person +
                '}';
    }
}
